package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DrPhoneContact;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 医生手机联系人持久层实现
 *
 * @author Amber
 * @since 1.0.0
 */
@Repository
public interface IDrPhoneContactRepository extends BaseJpaRepository<DrPhoneContact, Long>  {

    List<DrPhoneContact> findByDoctorIdAndPatientIdIsNull(Long doctorId);

}
